var buff_suijin = function () {};

module.exports = buff_suijin;
buff_suijin.prototype.init = function (owner, combat, buff, cardList) {
  this.combat = combat;
  this.buff = buff;
  this.owner = owner;
};
buff_suijin.prototype.onUseCard = function (card) {
  this.buff.onActive();
  //this.buff.onActive();
};
buff_suijin.prototype.getTempValue = function (card, key) {
  let n = 0;
  if (key == 'BaoJiFator') {
    n = 1;
  }
  return n;
};
buff_suijin.prototype.onGameOver = function () {
  this.owner.buffList.removeBuff(this.buff);
};
